﻿using System.ServiceModel; 

namespace Needle.Bus.Transport
{

    [ServiceContract(Namespace= Constants.NeedleBusNamespace)]
    public interface IChannel<T> : IExtension<ITransport>
    {

        string Topic { get; }

        [OperationContract(IsOneWay = true)]
        void Send(T message);
       
    }

}
